package com.xiaoq.positionmarket.entity;

import com.xiaoq.MongoEntity;
import org.mongodb.morphia.annotations.Entity;

/**
 * Created by chenjh on 2018/4/4.
 * 位置营销推送记录
 */
@Entity(value="position_push_record",noClassnameStored=true)
public class PositionPushRecordEntity extends MongoEntity {

    /*** 哪个景区发的 */
    private String shopId;
    /*** 位置营销的ID */
    private String positionMarketId;
    /*** 要推送给谁 */
    private String userId;
    /*** 要推送给谁,用户的电话 */
    private String mobile;

    /*** 运营商 */
    private String corp;

    /*** 归属省份 */
    private String province;

    /*** 归属城市 */
    private String city;

    /*** 城市区号 */
    private String areaCode;

    /*** 城市邮编 */
    private String postCode;

    /*** regId (推送时需用到regId) */
    private String regId;

    /*** osType (APP手机系统) */
    private String osType;


    public String getShopId() {
        return shopId;
    }

    public void setShopId(String shopId) {
        this.shopId = shopId;
    }

    public String getPositionMarketId() {
        return positionMarketId;
    }

    public void setPositionMarketId(String positionMarketId) {
        this.positionMarketId = positionMarketId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getCorp() {
        return corp;
    }

    public void setCorp(String corp) {
        this.corp = corp;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getPostCode() {
        return postCode;
    }

    public void setPostCode(String postCode) {
        this.postCode = postCode;
    }


    public String getRegId() {
        return regId;
    }

    public void setRegId(String regId) {
        this.regId = regId;
    }

    public String getOsType() {
        return osType;
    }

    public void setOsType(String osType) {
        this.osType = osType;
    }

    @Override
    public String toString() {
        return "PositionPushRecordEntity{" +
                "shopId='" + shopId + '\'' +
                ", positionMarketId='" + positionMarketId + '\'' +
                ", userId='" + userId + '\'' +
                ", mobile='" + mobile + '\'' +
                ", corp='" + corp + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", areaCode='" + areaCode + '\'' +
                ", postCode='" + postCode + '\'' +
                ", regId='" + regId + '\'' +
                ", osType='" + osType + '\'' +
                '}';
    }
}